﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DoubleClick
{
    public class Configuration : IConfiguration
    {
        private string _commandToRun = @"c:\windows\system32\cmd.exe";
        public string CommandToRun
        {
            get { return _commandToRun; }
            set { _commandToRun = value; }
        }

        private StartupModeEnum _startupMode = StartupModeEnum.NotSet;
        public StartupModeEnum StartupMode
        {
            get { return _startupMode; }
            set { _startupMode = value; }
        }

        private string _serviceName = "";
        public string ServiceName
        {
            get { return _serviceName; }
            set { _serviceName = value; }
        }
    }

    public interface IConfiguration
    {
        string CommandToRun { get; }
        StartupModeEnum StartupMode { get; }
        string ServiceName { get; }
    }
}
